import { WeaInput, WeaLocaleProvider } from 'ecCom';
const getLabel = WeaLocaleProvider.getLabel;
export default class FieldLabel extends React.Component {
    render() {
        const { isField, disabled,...restProps } = this.props;
        return (
            <div className="ant-row">
                <label>{isField ? getLabel('506127','字段名称') : getLabel('506114','内容')}</label>
                <WeaInput ecId={`${this && this.props && this.props.ecId || ''}_WeaInput@7lzh9x`} inputType={disabled ? "" : "multilang"} disabled={disabled} {...restProps}></WeaInput>
            </div>
        )
    }
} 